package com.tyk.bookstore.front.system.model.enume;

import com.fasterxml.jackson.annotation.JsonValue;
import com.tyk.bookstore.front.common.core.model.enume.BaseEnum;

public enum CarouselState implements BaseEnum {
    DISABLE(0),
    ABLE(1);
    
    @JsonValue
    private final Integer code;

    @Override
    public Integer value() {
        return this.code;
    }

    CarouselState(Integer code) {
        this.code = code;
    }
}
